/*
 * Created on Sun Sep 17 2017
 * @flow
 * Copyright (c) 2017 jianglinjie
 */
'use strict';

import NetRequest from './NetRequest';
import * as HttpMethod from '../constants/HttpMethod';
import * as ResponseType from '../constants/ResponseType';

export default class GetRequest extends NetRequest {
  constructor(url: string,
    urlParam: ?Object,
    headers: ?Object,
    responseType?: string = ResponseType.JSON_TYPE) {

    super(url, urlParam, null, headers, HttpMethod.GET, responseType);
  }
}